[Experimental release] Adding ImageForegroundExtractor in AI features section #562
+204
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Note: This feature will be available through experimental2 release.
Implementation of Image Foreground Extractor Feature
This PR adds a new Image Foreground Extractor feature to the Windows AI Sample application, demonstrating the use of the Windows API for automatic foreground object segmentation.
New Files Added:
[ImageForegroundExtractorModel.cs] - Model manager for handling ImageForegroundExtractor API operations
[ImageForegroundExtractorViewModel.cs]- ViewModel implementing the MVVM pattern for foreground extraction
[ImageForegroundExtractorPage.xaml & .xaml.cs ] - UI page for the foreground extraction demo
[ImageForegroundExtractor.md] - Code example demonstrating API usage
[ImageForegroundExtractorInit.md] - Initialization code example
Modified Files:
[MainWindow.xaml & .xaml.cs] - Added navigation item for the new feature
[CopilotRootViewModel.cs] - Integrated the new ViewModel into the app's navigation structure
Testing
Tested out with 2.0.0-experimental2 custom Nuget. All of the APIs required for E2E flow working as expected.
Target Release
experimental2 release
Checklist
Note that /azp run currently isn't working for this repo.